package com.xingkeduo.dto.transter.shopDistance;

import com.xingkeduo.dto.SeeShopIdVo;
import com.xingkeduo.utils.ResponseUtils;

public class DistanceReturn {

    private int error;
    private int reason;
    private DistanceContent content;


    public void cover(ResponseUtils<SeeShopIdVo> longitudeAndLatitudeShopInfo, DistanceContent distanceContent){

    this.error = longitudeAndLatitudeShopInfo.getStatus() == 1 ? 0:1;
    this.reason = longitudeAndLatitudeShopInfo.getStatus() == 1 ? 0:1;
    this.content = distanceContent;
    }




    public void setError(int error) {
        this.error = error;
    }
    public int getError() {
        return error;
    }

    public void setReason(int reason) {
        this.reason = reason;
    }
    public int getReason() {
        return reason;
    }

    public void setContent(DistanceContent content) {
        this.content = content;
    }
    public DistanceContent getContent() {
        return content;
    }




}
